import { Moment } from "moment";
import { BudgetExhibit } from "../../interface/budgetData";
import { RootState } from "./type";

export const DarkModeSelector = (state: RootState): boolean => state.DarkModeReducer;

export const BudgetDataSelector = (state: RootState): BudgetExhibit[] => state.BudgetDataReducer;

export const FilterDateSelector = (state: RootState): Moment[] | null => state.FilterDateReducer;
